<template>
  <div class="bx--grid bx--grid--full-width bx--grid--no-gutter repo-page">
  <!-- <div class="bx--grid bx--grid--full-width repo-page"> -->
  
    <div class="bx--row repo-page__r1">
      <div class="bx--col-lg-16">
        <repo-table
          :headers="headers"
          :rows="pagedRows"
          :totalRows="rows.length"
          @pagination="onPagination"
          v-on:add="processRepo('add',$event)"
          v-on:remove="processRepo('remove',$event)"
          :loading="loading"
          title="Carbon Repositories"
          helperText="A collection of public Carbon repositories."
        /> 
      </div>     
    </div>
  </div>
</template>

<script>
import { mapState, mapMutations, mapActions, mapGetters } from "vuex";
import RepoTable from "./RepoTable";
import commonJS from "../../js/CommonJS";
const headers = [
  {
    key: 'name',
    header: 'Name',
  },
  {
    key: 'createdAt',
    header: 'Created',
  },
  {
    key: 'updatedAt',
    header: 'Updated',
  },
  {
    key: 'issueCount',
    header: 'Open Issues',
  },
  {
    key: 'stars',
    header: 'Stars',
  },
  {
    key: 'links',
    header: 'Links',
  },
  {
    key: '',
    header: '',
  },  
];

const organization={
  "repositories": {
    "totalCount": 68,
    "nodes": [{
      "url": "https://github.com/carbon-design-system/carbon-for-ibm-dotcom",
      "homepageUrl": "https://www.ibm.com/standards/web/carbon-for-ibm-dotcom/",
      "issues": {
        "totalCount": 375,
        "__typename": "IssueConnection"
      },
      "stargazers": {
        "totalCount": 36,
        "__typename": "StargazerConnection"
      },
      "releases": {
        "totalCount": 88,
        "nodes": [{
          "name": "v0.1.0-rc.0",
          "__typename": "Release"
        }],
        "__typename": "ReleaseConnection"
      },
      "name": "carbon-for-ibm-dotcom",
      "updatedAt": "2020-11-13T04:22:36Z",
      "createdAt": "2019-06-21T16:24:41Z",
      "description": "Carbon for IBM.com is based on the Carbon Design System for IBM",
      "id": "MDEwOlJlcG9zaXRvcnkxOTMxMjkwNjE=",
      "__typename": "Repository"
    }, {
      "url": "https://github.com/carbon-design-system/carbon",
      "homepageUrl": "https://www.carbondesignsystem.com",
      "issues": {
        "totalCount": 452,
        "__typename": "IssueConnection"
      },
      "stargazers": {
        "totalCount": 3646,
        "__typename": "StargazerConnection"
      },
      "releases": {
        "totalCount": 671,
        "nodes": [{
          "name": "7.0.0-rc.1",
          "__typename": "Release"
        }],
        "__typename": "ReleaseConnection"
      },
      "name": "carbon",
      "updatedAt": "2020-11-12T23:49:06Z",
      "createdAt": "2017-03-13T14:23:59Z",
      "description": "A design system built by IBM",
      "id": "MDEwOlJlcG9zaXRvcnk4NDgzNTUzNQ==",
      "__typename": "Repository"
    }, {
      "url": "https://github.com/carbon-design-system/carbon-components-vue",
      "homepageUrl": "http://vue.carbondesignsystem.com",
      "issues": {
        "totalCount": 52,
        "__typename": "IssueConnection"
      },
      "stargazers": {
        "totalCount": 293,
        "__typename": "StargazerConnection"
      },
      "releases": {
        "totalCount": 0,
        "nodes": [],
        "__typename": "ReleaseConnection"
      },
      "name": "carbon-components-vue",
      "updatedAt": "2020-11-12T22:28:22Z",
      "createdAt": "2018-10-24T16:44:21Z",
      "description": "Vue implementation of the Carbon Design System",
      "id": "MDEwOlJlcG9zaXRvcnkxNTQ1MzU0NzU=",
      "__typename": "Repository"
    }, {
      "url": "https://github.com/carbon-design-system/carbon-website",
      "homepageUrl": "https://www.carbondesignsystem.com",
      "issues": {
        "totalCount": 359,
        "__typename": "IssueConnection"
      },
      "stargazers": {
        "totalCount": 79,
        "__typename": "StargazerConnection"
      },
      "releases": {
        "totalCount": 0,
        "nodes": [],
        "__typename": "ReleaseConnection"
      },
      "name": "carbon-website",
      "updatedAt": "2020-11-12T20:24:31Z",
      "createdAt": "2019-07-29T17:51:01Z",
      "description": "The website for the Carbon Design System.",
      "id": "MDEwOlJlcG9zaXRvcnkxOTk1MDEzMTY=",
      "__typename": "Repository"
    }, {
      "url": "https://github.com/carbon-design-system/ibm-security",
      "homepageUrl": "https://ibm-security.carbondesignsystem.com",
      "issues": {
        "totalCount": 77,
        "__typename": "IssueConnection"
      },
      "stargazers": {
        "totalCount": 44,
        "__typename": "StargazerConnection"
      },
      "releases": {
        "totalCount": 302,
        "nodes": [{
          "name": "v1.0.0-prerelease.1@canary",
          "__typename": "Release"
        }],
        "__typename": "ReleaseConnection"
      },
      "name": "ibm-security",
      "updatedAt": "2020-11-12T18:04:31Z",
      "createdAt": "2019-08-01T18:39:47Z",
      "description": "A Carbon-powered React component library built by IBM Security",
      "id": "MDEwOlJlcG9zaXRvcnkyMDAxMDIyNDk=",
      "__typename": "Repository"
    }, {
      "url": "https://github.com/carbon-design-system/design-language-website",
      "homepageUrl": "https://www.ibm.com/design/language/",
      "issues": {
        "totalCount": 12,
        "__typename": "IssueConnection"
      },
      "stargazers": {
        "totalCount": 30,
        "__typename": "StargazerConnection"
      },
      "releases": {
        "totalCount": 0,
        "nodes": [],
        "__typename": "ReleaseConnection"
      },
      "name": "design-language-website",
      "updatedAt": "2020-11-12T15:01:51Z",
      "createdAt": "2019-04-15T13:56:28Z",
      "description": "IBM Design Language website",
      "id": "MDEwOlJlcG9zaXRvcnkxODE0OTgwNTY=",
      "__typename": "Repository"
    }, {
      "url": "https://github.com/carbon-design-system/carbon-addons-iot-react",
      "homepageUrl": "https://carbon-addons-iot-react.com",
      "issues": {
        "totalCount": 219,
        "__typename": "IssueConnection"
      },
      "stargazers": {
        "totalCount": 44,
        "__typename": "StargazerConnection"
      },
      "releases": {
        "totalCount": 712,
        "nodes": [{
          "name": "v1.0.0",
          "__typename": "Release"
        }],
        "__typename": "ReleaseConnection"
      },
      "name": "carbon-addons-iot-react",
      "updatedAt": "2020-11-12T08:16:37Z",
      "createdAt": "2018-12-12T15:30:42Z",
      "description": "A collection of React components shared between IBM Watson IoT products.",
      "id": "MDEwOlJlcG9zaXRvcnkxNjE1MDc4NTg=",
      "__typename": "Repository"
    }, {
      "url": "https://github.com/carbon-design-system/carbon-charts",
      "homepageUrl": "https://carbon-design-system.github.io/carbon-charts/",
      "issues": {
        "totalCount": 88,
        "__typename": "IssueConnection"
      },
      "stargazers": {
        "totalCount": 211,
        "__typename": "StargazerConnection"
      },
      "releases": {
        "totalCount": 41,
        "nodes": [{
          "name": "",
          "__typename": "Release"
        }],
        "__typename": "ReleaseConnection"
      },
      "name": "carbon-charts",
      "updatedAt": "2020-11-12T07:51:50Z",
      "createdAt": "2018-07-31T19:41:49Z",
      "description": ":bar_chart: :chart_with_upwards_trend:⠀Robust dataviz framework implemented using D3 & typescript",
      "id": "MDEwOlJlcG9zaXRvcnkxNDMwNTk0NzY=",
      "__typename": "Repository"
    }, {
      "url": "https://github.com/carbon-design-system/carbon-addons-cloud-react",
      "homepageUrl": "http://cloud.carbondesignsystem.com/",
      "issues": {
        "totalCount": 11,
        "__typename": "IssueConnection"
      },
      "stargazers": {
        "totalCount": 13,
        "__typename": "StargazerConnection"
      },
      "releases": {
        "totalCount": 53,
        "nodes": [{
          "name": "v1.0.0",
          "__typename": "Release"
        }],
        "__typename": "ReleaseConnection"
      },
      "name": "carbon-addons-cloud-react",
      "updatedAt": "2020-11-11T21:17:43Z",
      "createdAt": "2018-05-30T16:30:34Z",
      "description": "[DEPRECATED] React components for the Cloud Add-on",
      "id": "MDEwOlJlcG9zaXRvcnkxMzU0NzAyMTU=",
      "__typename": "Repository"
    }, {
      "url": "https://github.com/carbon-design-system/ibm-cloud-cognitive",
      "homepageUrl": "https://ibm-cloud-cognitive.netlify.app",
      "issues": {
        "totalCount": 52,
        "__typename": "IssueConnection"
      },
      "stargazers": {
        "totalCount": 4,
        "__typename": "StargazerConnection"
      },
      "releases": {
        "totalCount": 22,
        "nodes": [{
          "name": "@carbon/ibm-cloud-cognitive@0.0.2",
          "__typename": "Release"
        }],
        "__typename": "ReleaseConnection"
      },
      "name": "ibm-cloud-cognitive",
      "updatedAt": "2020-11-11T17:31:31Z",
      "createdAt": "2020-06-16T16:16:12Z",
      "description": "A Carbon-powered React component library for Cloud & Cognitive",
      "id": "MDEwOlJlcG9zaXRvcnkyNzI3NTU5Mzc=",
      "__typename": "Repository"
    }, {
      "url": "https://github.com/carbon-design-system/devtools",
      "homepageUrl": "http://ibm.biz/carbon-devtools",
      "issues": {
        "totalCount": 33,
        "__typename": "IssueConnection"
      },
      "stargazers": {
        "totalCount": 12,
        "__typename": "StargazerConnection"
      },
      "releases": {
        "totalCount": 8,
        "nodes": [{
          "name": "v2.0.0",
          "__typename": "Release"
        }],
        "__typename": "ReleaseConnection"
      },
      "name": "devtools",
      "updatedAt": "2020-11-11T14:22:35Z",
      "createdAt": "2020-05-13T19:08:43Z",
      "description": "Basic tools to aide in the design, development, and QA of Carbon pages.",
      "id": "MDEwOlJlcG9zaXRvcnkyNjM3MjAzOTE=",
      "__typename": "Repository"
    }, {
      "url": "https://github.com/carbon-design-system/carbon-components-react",
      "homepageUrl": "http://react.carbondesignsystem.com",
      "issues": {
        "totalCount": 0,
        "__typename": "IssueConnection"
      },
      "stargazers": {
        "totalCount": 1049,
        "__typename": "StargazerConnection"
      },
      "releases": {
        "totalCount": 550,
        "nodes": [{
          "name": "2.2.1",
          "__typename": "Release"
        }],
        "__typename": "ReleaseConnection"
      },
      "name": "carbon-components-react",
      "updatedAt": "2020-11-11T08:41:52Z",
      "createdAt": "2017-05-26T16:01:37Z",
      "description": "React components for the Carbon Design System",
      "id": "MDEwOlJlcG9zaXRvcnk5MjUyNzA1OA==",
      "__typename": "Repository"
    }, {
      "url": "https://github.com/carbon-design-system/carbon-for-ibm-dotcom-nextjs-test",
      "homepageUrl": "",
      "issues": {
        "totalCount": 1,
        "__typename": "IssueConnection"
      },
      "stargazers": {
        "totalCount": 0,
        "__typename": "StargazerConnection"
      },
      "releases": {
        "totalCount": 0,
        "nodes": [],
        "__typename": "ReleaseConnection"
      },
      "name": "carbon-for-ibm-dotcom-nextjs-test",
      "updatedAt": "2020-11-10T16:31:18Z",
      "createdAt": "2020-03-11T18:44:34Z",
      "description": "This is a sample NextJS application utilizing Carbon for IBM.com",
      "id": "MDEwOlJlcG9zaXRvcnkyNDY2NTM0MDU=",
      "__typename": "Repository"
    }, {
      "url": "https://github.com/carbon-design-system/carbon-for-ibm-dotcom-website",
      "homepageUrl": "",
      "issues": {
        "totalCount": 35,
        "__typename": "IssueConnection"
      },
      "stargazers": {
        "totalCount": 15,
        "__typename": "StargazerConnection"
      },
      "releases": {
        "totalCount": 0,
        "nodes": [],
        "__typename": "ReleaseConnection"
      },
      "name": "carbon-for-ibm-dotcom-website",
      "updatedAt": "2020-11-10T09:21:44Z",
      "createdAt": "2019-08-14T15:18:45Z",
      "description": "This is the Carbon for IBM.com website, which includes documentation and guidelines around design and development for IBM.com",
      "id": "MDEwOlJlcG9zaXRvcnkyMDIzNzYxNTY=",
      "__typename": "Repository"
    }, {
      "url": "https://github.com/carbon-design-system/carbon-design-kit",
      "homepageUrl": "",
      "issues": {
        "totalCount": 30,
        "__typename": "IssueConnection"
      },
      "stargazers": {
        "totalCount": 968,
        "__typename": "StargazerConnection"
      },
      "releases": {
        "totalCount": 17,
        "nodes": [{
          "name": "7.0.0",
          "__typename": "Release"
        }],
        "__typename": "ReleaseConnection"
      },
      "name": "carbon-design-kit",
      "updatedAt": "2020-11-10T02:48:01Z",
      "createdAt": "2017-03-27T16:51:01Z",
      "description": "A versioned, comprehensive kit of the Carbon Design System visual assets (components, iconography, color palettes, grids, templates).",
      "id": "MDEwOlJlcG9zaXRvcnk4NjM2MDg1NQ==",
      "__typename": "Repository"
    }, {
      "url": "https://github.com/carbon-design-system/gatsby-theme-carbon",
      "homepageUrl": "https://gatsby-theme-carbon.now.sh",
      "issues": {
        "totalCount": 50,
        "__typename": "IssueConnection"
      },
      "stargazers": {
        "totalCount": 261,
        "__typename": "StargazerConnection"
      },
      "releases": {
        "totalCount": 82,
        "nodes": [{
          "name": "",
          "__typename": "Release"
        }],
        "__typename": "ReleaseConnection"
      },
      "name": "gatsby-theme-carbon",
      "updatedAt": "2020-11-09T21:39:03Z",
      "createdAt": "2019-04-12T18:18:58Z",
      "description": "A Carbon inspired Gatsby theme",
      "id": "MDEwOlJlcG9zaXRvcnkxODEwNjIwMzc=",
      "__typename": "Repository"
    }, {
      "url": "https://github.com/carbon-design-system/carbon-web-components",
      "homepageUrl": "https://web-components.carbondesignsystem.com/",
      "issues": {
        "totalCount": 56,
        "__typename": "IssueConnection"
      },
      "stargazers": {
        "totalCount": 134,
        "__typename": "StargazerConnection"
      },
      "releases": {
        "totalCount": 20,
        "nodes": [{
          "name": "v1.0.0-rc.0",
          "__typename": "Release"
        }],
        "__typename": "ReleaseConnection"
      },
      "name": "carbon-web-components",
      "updatedAt": "2020-11-08T12:32:04Z",
      "createdAt": "2019-05-15T21:42:02Z",
      "description": "Carbon Design System variant on top of Web Components",
      "id": "MDEwOlJlcG9zaXRvcnkxODY5MDY2MjE=",
      "__typename": "Repository"
    }, {
      "url": "https://github.com/carbon-design-system/carbon-tutorial",
      "homepageUrl": "",
      "issues": {
        "totalCount": 4,
        "__typename": "IssueConnection"
      },
      "stargazers": {
        "totalCount": 93,
        "__typename": "StargazerConnection"
      },
      "releases": {
        "totalCount": 0,
        "nodes": [],
        "__typename": "ReleaseConnection"
      },
      "name": "carbon-tutorial",
      "updatedAt": "2020-11-07T22:43:09Z",
      "createdAt": "2019-04-22T15:28:40Z",
      "description": "An app for the Carbon Design System tutorial",
      "id": "MDEwOlJlcG9zaXRvcnkxODI4MTU3NDU=",
      "__typename": "Repository"
    }, {
      "url": "https://github.com/carbon-design-system/carbon-for-ibm-dotcom-nextjs-template",
      "homepageUrl": "",
      "issues": {
        "totalCount": 1,
        "__typename": "IssueConnection"
      },
      "stargazers": {
        "totalCount": 3,
        "__typename": "StargazerConnection"
      },
      "releases": {
        "totalCount": 0,
        "nodes": [],
        "__typename": "ReleaseConnection"
      },
      "name": "carbon-for-ibm-dotcom-nextjs-template",
      "updatedAt": "2020-11-06T16:21:19Z",
      "createdAt": "2020-05-26T21:10:17Z",
      "description": "This is a NextJS template utilizing Carbon for IBM.com React",
      "id": "MDEwOlJlcG9zaXRvcnkyNjcxNTI3NzM=",
      "__typename": "Repository"
    }, {
      "url": "https://github.com/carbon-design-system/carbon-tutorial-vue",
      "homepageUrl": null,
      "issues": {
        "totalCount": 4,
        "__typename": "IssueConnection"
      },
      "stargazers": {
        "totalCount": 11,
        "__typename": "StargazerConnection"
      },
      "releases": {
        "totalCount": 0,
        "nodes": [],
        "__typename": "ReleaseConnection"
      },
      "name": "carbon-tutorial-vue",
      "updatedAt": "2020-11-02T21:15:18Z",
      "createdAt": "2019-07-06T15:16:01Z",
      "description": null,
      "id": "MDEwOlJlcG9zaXRvcnkxOTU1NTM0NTY=",
      "__typename": "Repository"
    }, {
      "url": "https://github.com/carbon-design-system/stylelint-plugin-carbon-tokens",
      "homepageUrl": null,
      "issues": {
        "totalCount": 4,
        "__typename": "IssueConnection"
      },
      "stargazers": {
        "totalCount": 3,
        "__typename": "StargazerConnection"
      },
      "releases": {
        "totalCount": 0,
        "nodes": [],
        "__typename": "ReleaseConnection"
      },
      "name": "stylelint-plugin-carbon-tokens",
      "updatedAt": "2020-10-30T18:34:43Z",
      "createdAt": "2020-04-17T15:28:07Z",
      "description": null,
      "id": "MDEwOlJlcG9zaXRvcnkyNTY1NDA2NTM=",
      "__typename": "Repository"
    }, {
      "url": "https://github.com/carbon-design-system/toolkit",
      "homepageUrl": null,
      "issues": {
        "totalCount": 5,
        "__typename": "IssueConnection"
      },
      "stargazers": {
        "totalCount": 11,
        "__typename": "StargazerConnection"
      },
      "releases": {
        "totalCount": 0,
        "nodes": [],
        "__typename": "ReleaseConnection"
      },
      "name": "toolkit",
      "updatedAt": "2020-10-28T01:59:42Z",
      "createdAt": "2018-08-01T22:42:48Z",
      "description": "[Experimental] A UI Toolkit for the Carbon Design System",
      "id": "MDEwOlJlcG9zaXRvcnkxNDMyMTU2MTI=",
      "__typename": "Repository"
    }, {
      "url": "https://github.com/carbon-design-system/carbon-icons-angular",
      "homepageUrl": "https://carbon-icons-angular.netlify.com",
      "issues": {
        "totalCount": 1,
        "__typename": "IssueConnection"
      },
      "stargazers": {
        "totalCount": 7,
        "__typename": "StargazerConnection"
      },
      "releases": {
        "totalCount": 17,
        "nodes": [{
          "name": "Placeholder release",
          "__typename": "Release"
        }],
        "__typename": "ReleaseConnection"
      },
      "name": "carbon-icons-angular",
      "updatedAt": "2020-10-23T03:42:57Z",
      "createdAt": "2019-11-07T18:36:19Z",
      "description": "Carbon icons, in Angular!",
      "id": "MDEwOlJlcG9zaXRvcnkyMjAzMDQ0MDg=",
      "__typename": "Repository"
    }, {
      "url": "https://github.com/carbon-design-system/carbon-for-ibm-dotcom-design-kit",
      "homepageUrl": null,
      "issues": {
        "totalCount": 3,
        "__typename": "IssueConnection"
      },
      "stargazers": {
        "totalCount": 1,
        "__typename": "StargazerConnection"
      },
      "releases": {
        "totalCount": 1,
        "nodes": [{
          "name": "Carbon Expressive kit v1.0",
          "__typename": "Release"
        }],
        "__typename": "ReleaseConnection"
      },
      "name": "carbon-for-ibm-dotcom-design-kit",
      "updatedAt": "2020-10-22T17:01:04Z",
      "createdAt": "2019-10-16T15:10:44Z",
      "description": null,
      "id": "MDEwOlJlcG9zaXRvcnkyMTU1Nzg0ODY=",
      "__typename": "Repository"
    }, {
      "url": "https://github.com/carbon-design-system/okrs",
      "homepageUrl": "",
      "issues": {
        "totalCount": 92,
        "__typename": "IssueConnection"
      },
      "stargazers": {
        "totalCount": 1,
        "__typename": "StargazerConnection"
      },
      "releases": {
        "totalCount": 0,
        "nodes": [],
        "__typename": "ReleaseConnection"
      },
      "name": "okrs",
      "updatedAt": "2020-10-21T17:12:15Z",
      "createdAt": "2020-06-18T18:02:08Z",
      "description": "Objectives and key results for the Carbon team.",
      "id": "MDEwOlJlcG9zaXRvcnkyNzMzMDY2NTU=",
      "__typename": "Repository"
    }, {
      "url": "https://github.com/carbon-design-system/repo-transfer-test",
      "homepageUrl": null,
      "issues": {
        "totalCount": 2,
        "__typename": "IssueConnection"
      },
      "stargazers": {
        "totalCount": 0,
        "__typename": "StargazerConnection"
      },
      "releases": {
        "totalCount": 8,
        "nodes": [{
          "name": "v1.0.2",
          "__typename": "Release"
        }],
        "__typename": "ReleaseConnection"
      },
      "name": "repo-transfer-test",
      "updatedAt": "2020-10-20T11:48:23Z",
      "createdAt": "2020-04-22T18:41:05Z",
      "description": "a repo to test the transferring from account to organization",
      "id": "MDEwOlJlcG9zaXRvcnkyNTc5ODkxNzg=",
      "__typename": "Repository"
    }, {
      "url": "https://github.com/carbon-design-system/carbon-for-ibm-dotcom-web-components-test",
      "homepageUrl": "",
      "issues": {
        "totalCount": 0,
        "__typename": "IssueConnection"
      },
      "stargazers": {
        "totalCount": 0,
        "__typename": "StargazerConnection"
      },
      "releases": {
        "totalCount": 0,
        "nodes": [],
        "__typename": "ReleaseConnection"
      },
      "name": "carbon-for-ibm-dotcom-web-components-test",
      "updatedAt": "2020-10-19T03:36:50Z",
      "createdAt": "2020-10-02T12:59:10Z",
      "description": "Environment for testing IBM.com Library web components as a mock application",
      "id": "MDEwOlJlcG9zaXRvcnkzMDA2MTUzODU=",
      "__typename": "Repository"
    }, {
      "url": "https://github.com/carbon-design-system/action-ibmcloud-cf",
      "homepageUrl": null,
      "issues": {
        "totalCount": 0,
        "__typename": "IssueConnection"
      },
      "stargazers": {
        "totalCount": 2,
        "__typename": "StargazerConnection"
      },
      "releases": {
        "totalCount": 0,
        "nodes": [],
        "__typename": "ReleaseConnection"
      },
      "name": "action-ibmcloud-cf",
      "updatedAt": "2020-10-15T04:41:10Z",
      "createdAt": "2020-07-21T12:23:22Z",
      "description": "Common GitHub actions used in various repositories in carbon-design-system org, for deploying a IBM Cloud CF app.",
      "id": "MDEwOlJlcG9zaXRvcnkyODEzOTA3NDU=",
      "__typename": "Repository"
    }, {
      "url": "https://github.com/carbon-design-system/carbon-icons",
      "homepageUrl": "https://www.carbondesignsystem.com/guidelines/iconography/library",
      "issues": {
        "totalCount": 15,
        "__typename": "IssueConnection"
      },
      "stargazers": {
        "totalCount": 73,
        "__typename": "StargazerConnection"
      },
      "releases": {
        "totalCount": 13,
        "nodes": [{
          "name": "5.1.2",
          "__typename": "Release"
        }],
        "__typename": "ReleaseConnection"
      },
      "name": "carbon-icons",
      "updatedAt": "2020-10-11T18:27:39Z",
      "createdAt": "2017-03-23T19:05:49Z",
      "description": "SVG icon library for the Carbon Design System",
      "id": "MDEwOlJlcG9zaXRvcnk4NTk4NzUwMQ==",
      "__typename": "Repository"
    }, {
      "url": "https://github.com/carbon-design-system/sync",
      "homepageUrl": null,
      "issues": {
        "totalCount": 1,
        "__typename": "IssueConnection"
      },
      "stargazers": {
        "totalCount": 4,
        "__typename": "StargazerConnection"
      },
      "releases": {
        "totalCount": 0,
        "nodes": [],
        "__typename": "ReleaseConnection"
      },
      "name": "sync",
      "updatedAt": "2020-10-10T23:14:41Z",
      "createdAt": "2018-01-03T16:33:06Z",
      "description": "Internal tool for keeping project repositories in sync",
      "id": "MDEwOlJlcG9zaXRvcnkxMTYxNTg4NTU=",
      "__typename": "Repository"
    }, {
      "url": "https://github.com/carbon-design-system/carbon-utils-position",
      "homepageUrl": "https://carbon-utils-position.netlify.com/",
      "issues": {
        "totalCount": 2,
        "__typename": "IssueConnection"
      },
      "stargazers": {
        "totalCount": 3,
        "__typename": "StargazerConnection"
      },
      "releases": {
        "totalCount": 5,
        "nodes": [{
          "name": "v1.0.0",
          "__typename": "Release"
        }],
        "__typename": "ReleaseConnection"
      },
      "name": "carbon-utils-position",
      "updatedAt": "2020-10-07T21:14:11Z",
      "createdAt": "2019-04-11T18:42:14Z",
      "description": "Position elements anywhere",
      "id": "MDEwOlJlcG9zaXRvcnkxODA4NTY0MjU=",
      "__typename": "Repository"
    }, {
      "url": "https://github.com/carbon-design-system/carbon-angular-starter",
      "homepageUrl": "https://carbon-angular-starter.netlify.com/",
      "issues": {
        "totalCount": 3,
        "__typename": "IssueConnection"
      },
      "stargazers": {
        "totalCount": 40,
        "__typename": "StargazerConnection"
      },
      "releases": {
        "totalCount": 0,
        "nodes": [],
        "__typename": "ReleaseConnection"
      },
      "name": "carbon-angular-starter",
      "updatedAt": "2020-10-07T09:53:59Z",
      "createdAt": "2018-11-20T21:17:09Z",
      "description": "A simple starter app for bootstrapping applications with Carbon components.",
      "id": "MDEwOlJlcG9zaXRvcnkxNTg0NTIzMTg=",
      "__typename": "Repository"
    }, {
      "url": "https://github.com/carbon-design-system/carbon-tutorial-angular",
      "homepageUrl": "",
      "issues": {
        "totalCount": 15,
        "__typename": "IssueConnection"
      },
      "stargazers": {
        "totalCount": 9,
        "__typename": "StargazerConnection"
      },
      "releases": {
        "totalCount": 0,
        "nodes": [],
        "__typename": "ReleaseConnection"
      },
      "name": "carbon-tutorial-angular",
      "updatedAt": "2020-09-17T21:39:21Z",
      "createdAt": "2019-08-06T17:37:51Z",
      "description": "An Angular app for the Carbon Design System tutorial",
      "id": "MDEwOlJlcG9zaXRvcnkyMDA4OTcxMzM=",
      "__typename": "Repository"
    }, {
      "url": "https://github.com/carbon-design-system/carbon-shared-tests",
      "homepageUrl": "",
      "issues": {
        "totalCount": 0,
        "__typename": "IssueConnection"
      },
      "stargazers": {
        "totalCount": 1,
        "__typename": "StargazerConnection"
      },
      "releases": {
        "totalCount": 5,
        "nodes": [{
          "name": "v1.0.0",
          "__typename": "Release"
        }],
        "__typename": "ReleaseConnection"
      },
      "name": "carbon-shared-tests",
      "updatedAt": "2020-09-13T18:28:26Z",
      "createdAt": "2020-06-01T17:38:12Z",
      "description": "Carbon Shared Tests are re-usable UI unit tests aligned to the Carbon Design System",
      "id": "MDEwOlJlcG9zaXRvcnkyNjg1ODk4OTA=",
      "__typename": "Repository"
    }, {
      "url": "https://github.com/carbon-design-system/carbon-badges",
      "homepageUrl": "https://carbon-badges.vercel.app",
      "issues": {
        "totalCount": 3,
        "__typename": "IssueConnection"
      },
      "stargazers": {
        "totalCount": 1,
        "__typename": "StargazerConnection"
      },
      "releases": {
        "totalCount": 0,
        "nodes": [],
        "__typename": "ReleaseConnection"
      },
      "name": "carbon-badges",
      "updatedAt": "2020-09-09T19:57:19Z",
      "createdAt": "2020-07-31T19:40:58Z",
      "description": "A site to apply for Carbon badges.",
      "id": "MDEwOlJlcG9zaXRvcnkyODQxMTYwODU=",
      "__typename": "Repository"
    }, {
      "url": "https://github.com/carbon-design-system/carbon-website-archive",
      "homepageUrl": "https://www.carbondesignsystem.com",
      "issues": {
        "totalCount": 0,
        "__typename": "IssueConnection"
      },
      "stargazers": {
        "totalCount": 242,
        "__typename": "StargazerConnection"
      },
      "releases": {
        "totalCount": 1,
        "nodes": [{
          "name": "",
          "__typename": "Release"
        }],
        "__typename": "ReleaseConnection"
      },
      "name": "carbon-website-archive",
      "updatedAt": "2020-08-30T08:53:46Z",
      "createdAt": "2018-08-14T02:15:27Z",
      "description": "The old website for the Carbon Design System. This repo is archived.",
      "id": "MDEwOlJlcG9zaXRvcnkxNDQ2NTY4NzE=",
      "__typename": "Repository"
    }, {
      "url": "https://github.com/carbon-design-system/carbon-addons-data-viz-react",
      "homepageUrl": "https://github.com/carbon-design-system/carbon-charts",
      "issues": {
        "totalCount": 12,
        "__typename": "IssueConnection"
      },
      "stargazers": {
        "totalCount": 27,
        "__typename": "StargazerConnection"
      },
      "releases": {
        "totalCount": 61,
        "nodes": [{
          "name": "v1.0.0",
          "__typename": "Release"
        }],
        "__typename": "ReleaseConnection"
      },
      "name": "carbon-addons-data-viz-react",
      "updatedAt": "2020-08-29T05:46:23Z",
      "createdAt": "2017-09-13T15:38:44Z",
      "description": "DEPRECATED. Please use Carbon Charts instead",
      "id": "MDEwOlJlcG9zaXRvcnkxMDM0MTg0NDQ=",
      "__typename": "Repository"
    }, {
      "url": "https://github.com/carbon-design-system/carbon-themes",
      "homepageUrl": "",
      "issues": {
        "totalCount": 0,
        "__typename": "IssueConnection"
      },
      "stargazers": {
        "totalCount": 27,
        "__typename": "StargazerConnection"
      },
      "releases": {
        "totalCount": 16,
        "nodes": [{
          "name": "v1.0.0",
          "__typename": "Release"
        }],
        "__typename": "ReleaseConnection"
      },
      "name": "carbon-themes",
      "updatedAt": "2020-08-24T17:09:04Z",
      "createdAt": "2017-03-21T16:43:55Z",
      "description": "A collection of themes for use with Carbon Components",
      "id": "MDEwOlJlcG9zaXRvcnk4NTcyODU2Nw==",
      "__typename": "Repository"
    }, {
      "url": "https://github.com/carbon-design-system/remote-learning-enablement",
      "homepageUrl": "https://remote-learning-enablement.now.sh",
      "issues": {
        "totalCount": 2,
        "__typename": "IssueConnection"
      },
      "stargazers": {
        "totalCount": 1,
        "__typename": "StargazerConnection"
      },
      "releases": {
        "totalCount": 0,
        "nodes": [],
        "__typename": "ReleaseConnection"
      },
      "name": "remote-learning-enablement",
      "updatedAt": "2020-08-14T14:03:37Z",
      "createdAt": "2020-03-19T15:48:40Z",
      "description": null,
      "id": "MDEwOlJlcG9zaXRvcnkyNDg1NDI4MTA=",
      "__typename": "Repository"
    }, {
      "url": "https://github.com/carbon-design-system/carbon-addons-infrastructure",
      "homepageUrl": "http://infrastructure.carbondesignsystem.com",
      "issues": {
        "totalCount": 5,
        "__typename": "IssueConnection"
      },
      "stargazers": {
        "totalCount": 5,
        "__typename": "StargazerConnection"
      },
      "releases": {
        "totalCount": 4,
        "nodes": [{
          "name": "v1.0.0",
          "__typename": "Release"
        }],
        "__typename": "ReleaseConnection"
      },
      "name": "carbon-addons-infrastructure",
      "updatedAt": "2020-08-10T14:16:28Z",
      "createdAt": "2018-04-06T14:44:05Z",
      "description": "Carbon Add-on for IBM Cloud Infrastructure",
      "id": "MDEwOlJlcG9zaXRvcnkxMjg0MDc0Mjg=",
      "__typename": "Repository"
    }, {
      "url": "https://github.com/carbon-design-system/digital-design-ideation",
      "homepageUrl": null,
      "issues": {
        "totalCount": 92,
        "__typename": "IssueConnection"
      },
      "stargazers": {
        "totalCount": 1,
        "__typename": "StargazerConnection"
      },
      "releases": {
        "totalCount": 0,
        "nodes": [],
        "__typename": "ReleaseConnection"
      },
      "name": "digital-design-ideation",
      "updatedAt": "2020-08-03T15:16:46Z",
      "createdAt": "2020-04-08T19:24:43Z",
      "description": null,
      "id": "MDEwOlJlcG9zaXRvcnkyNTQxODA2Mzc=",
      "__typename": "Repository"
    }, {
      "url": "https://github.com/carbon-design-system/gatsby-starter-carbon-theme",
      "homepageUrl": null,
      "issues": {
        "totalCount": 2,
        "__typename": "IssueConnection"
      },
      "stargazers": {
        "totalCount": 9,
        "__typename": "StargazerConnection"
      },
      "releases": {
        "totalCount": 0,
        "nodes": [],
        "__typename": "ReleaseConnection"
      },
      "name": "gatsby-starter-carbon-theme",
      "updatedAt": "2020-07-22T03:24:08Z",
      "createdAt": "2019-04-24T02:34:34Z",
      "description": "A Gatsby starter demonstrating the Gatsby Carbon theme",
      "id": "MDEwOlJlcG9zaXRvcnkxODMxMzI1NDY=",
      "__typename": "Repository"
    }, {
      "url": "https://github.com/carbon-design-system/carbon-addons-ics",
      "homepageUrl": "http://ics.carbondesignsystem.com",
      "issues": {
        "totalCount": 7,
        "__typename": "IssueConnection"
      },
      "stargazers": {
        "totalCount": 17,
        "__typename": "StargazerConnection"
      },
      "releases": {
        "totalCount": 38,
        "nodes": [{
          "name": "v1.0.0",
          "__typename": "Release"
        }],
        "__typename": "ReleaseConnection"
      },
      "name": "carbon-addons-ics",
      "updatedAt": "2020-07-17T10:30:14Z",
      "createdAt": "2018-01-03T18:22:33Z",
      "description": "Carbon Add-on for IBM Collaboration Solutions",
      "id": "MDEwOlJlcG9zaXRvcnkxMTYxNjg0MjQ=",
      "__typename": "Repository"
    }, {
      "url": "https://github.com/carbon-design-system/carbon-elements",
      "homepageUrl": "",
      "issues": {
        "totalCount": 0,
        "__typename": "IssueConnection"
      },
      "stargazers": {
        "totalCount": 73,
        "__typename": "StargazerConnection"
      },
      "releases": {
        "totalCount": 19,
        "nodes": [{
          "name": "v0.0.1-alpha.23",
          "__typename": "Release"
        }],
        "__typename": "ReleaseConnection"
      },
      "name": "carbon-elements",
      "updatedAt": "2020-07-07T21:28:33Z",
      "createdAt": "2018-08-17T18:36:42Z",
      "description": "Project moved to carbon-design-system/carbon",
      "id": "MDEwOlJlcG9zaXRvcnkxNDUxNTQ3MTM=",
      "__typename": "Repository"
    }, {
      "url": "https://github.com/carbon-design-system/issue-tracking",
      "homepageUrl": null,
      "issues": {
        "totalCount": 0,
        "__typename": "IssueConnection"
      },
      "stargazers": {
        "totalCount": 7,
        "__typename": "StargazerConnection"
      },
      "releases": {
        "totalCount": 1,
        "nodes": [{
          "name": "End Q3 Release: Pumpkin Spice Latte",
          "__typename": "Release"
        }],
        "__typename": "ReleaseConnection"
      },
      "name": "issue-tracking",
      "updatedAt": "2020-06-27T06:43:42Z",
      "createdAt": "2018-09-11T21:29:06Z",
      "description": "For tracking issues that can't be put in the relevant open source repositories. Using to deprecate issue tracking in GHE.",
      "id": "MDEwOlJlcG9zaXRvcnkxNDgzODI1NzA=",
      "__typename": "Repository"
    }, {
      "url": "https://github.com/carbon-design-system/carbon-boilerplate",
      "homepageUrl": "http://carbon-boilerplate.mybluemix.net/",
      "issues": {
        "totalCount": 0,
        "__typename": "IssueConnection"
      },
      "stargazers": {
        "totalCount": 42,
        "__typename": "StargazerConnection"
      },
      "releases": {
        "totalCount": 0,
        "nodes": [],
        "__typename": "ReleaseConnection"
      },
      "name": "carbon-boilerplate",
      "updatedAt": "2020-06-19T23:46:27Z",
      "createdAt": "2017-06-26T15:50:35Z",
      "description": "A simple boilerplate for rapid UI prototyping with Carbon components",
      "id": "MDEwOlJlcG9zaXRvcnk5NTQ2MzQzMQ==",
      "__typename": "Repository"
    }, {
      "url": "https://github.com/carbon-design-system/incubator",
      "homepageUrl": null,
      "issues": {
        "totalCount": 0,
        "__typename": "IssueConnection"
      },
      "stargazers": {
        "totalCount": 1,
        "__typename": "StargazerConnection"
      },
      "releases": {
        "totalCount": 0,
        "nodes": [],
        "__typename": "ReleaseConnection"
      },
      "name": "incubator",
      "updatedAt": "2020-06-13T17:35:24Z",
      "createdAt": "2020-06-12T15:05:10Z",
      "description": "[Experimental] Explore, build, and try-out new work with Carbon ",
      "id": "MDEwOlJlcG9zaXRvcnkyNzE4MjYwMjk=",
      "__typename": "Repository"
    }, {
      "url": "https://github.com/carbon-design-system/design-system-website",
      "homepageUrl": "https://github.com/carbon-design-system/carbon-website",
      "issues": {
        "totalCount": 4,
        "__typename": "IssueConnection"
      },
      "stargazers": {
        "totalCount": 46,
        "__typename": "StargazerConnection"
      },
      "releases": {
        "totalCount": 0,
        "nodes": [],
        "__typename": "ReleaseConnection"
      },
      "name": "design-system-website",
      "updatedAt": "2020-06-04T03:15:17Z",
      "createdAt": "2017-08-16T15:53:40Z",
      "description": "This repo has been archived, the new repo can can be found at",
      "id": "MDEwOlJlcG9zaXRvcnkxMDA1MDY3ODI=",
      "__typename": "Repository"
    }, {
      "url": "https://github.com/carbon-design-system/ibm-cdai",
      "homepageUrl": null,
      "issues": {
        "totalCount": 0,
        "__typename": "IssueConnection"
      },
      "stargazers": {
        "totalCount": 0,
        "__typename": "StargazerConnection"
      },
      "releases": {
        "totalCount": 0,
        "nodes": [],
        "__typename": "ReleaseConnection"
      },
      "name": "ibm-cdai",
      "updatedAt": "2020-04-28T22:02:53Z",
      "createdAt": "2020-04-28T21:59:50Z",
      "description": "IBM CDAI",
      "id": "MDEwOlJlcG9zaXRvcnkyNTk3NjExMjI=",
      "__typename": "Repository"
    }, {
      "url": "https://github.com/carbon-design-system/gatsby-theme-presentation",
      "homepageUrl": "https://gatsby-themes-at-ibm.now.sh",
      "issues": {
        "totalCount": 0,
        "__typename": "IssueConnection"
      },
      "stargazers": {
        "totalCount": 0,
        "__typename": "StargazerConnection"
      },
      "releases": {
        "totalCount": 0,
        "nodes": [],
        "__typename": "ReleaseConnection"
      },
      "name": "gatsby-theme-presentation",
      "updatedAt": "2020-04-23T15:23:28Z",
      "createdAt": "2019-08-05T19:39:22Z",
      "description": null,
      "id": "MDEwOlJlcG9zaXRvcnkyMDA3MTc4MjM=",
      "__typename": "Repository"
    }, {
      "url": "https://github.com/carbon-design-system/carbon-addons-website",
      "homepageUrl": null,
      "issues": {
        "totalCount": 1,
        "__typename": "IssueConnection"
      },
      "stargazers": {
        "totalCount": 3,
        "__typename": "StargazerConnection"
      },
      "releases": {
        "totalCount": 0,
        "nodes": [],
        "__typename": "ReleaseConnection"
      },
      "name": "carbon-addons-website",
      "updatedAt": "2020-04-16T22:11:50Z",
      "createdAt": "2018-01-24T21:38:02Z",
      "description": "Carbon Design System add-on for design system website",
      "id": "MDEwOlJlcG9zaXRvcnkxMTg4MjUzOTI=",
      "__typename": "Repository"
    }, {
      "url": "https://github.com/carbon-design-system/carbon-spec",
      "homepageUrl": "",
      "issues": {
        "totalCount": 6,
        "__typename": "IssueConnection"
      },
      "stargazers": {
        "totalCount": 6,
        "__typename": "StargazerConnection"
      },
      "releases": {
        "totalCount": 0,
        "nodes": [],
        "__typename": "ReleaseConnection"
      },
      "name": "carbon-spec",
      "updatedAt": "2020-04-16T22:10:39Z",
      "createdAt": "2017-12-07T16:47:32Z",
      "description": "[WIP] Specification for the Carbon Design System",
      "id": "MDEwOlJlcG9zaXRvcnkxMTM0NzU5ODM=",
      "__typename": "Repository"
    }, {
      "url": "https://github.com/carbon-design-system/carbon-addons-catalog-react",
      "homepageUrl": "",
      "issues": {
        "totalCount": 0,
        "__typename": "IssueConnection"
      },
      "stargazers": {
        "totalCount": 2,
        "__typename": "StargazerConnection"
      },
      "releases": {
        "totalCount": 29,
        "nodes": [{
          "name": "v0.0.4",
          "__typename": "Release"
        }],
        "__typename": "ReleaseConnection"
      },
      "name": "carbon-addons-catalog-react",
      "updatedAt": "2020-04-02T07:37:13Z",
      "createdAt": "2017-06-26T09:37:52Z",
      "description": "Bluemix Catalog components in React",
      "id": "MDEwOlJlcG9zaXRvcnk5NTQzMTU3Nw==",
      "__typename": "Repository"
    }, {
      "url": "https://github.com/carbon-design-system/carbon-addons-cloud",
      "homepageUrl": "http://cloud-styles.carbondesignsystem.com",
      "issues": {
        "totalCount": 16,
        "__typename": "IssueConnection"
      },
      "stargazers": {
        "totalCount": 14,
        "__typename": "StargazerConnection"
      },
      "releases": {
        "totalCount": 38,
        "nodes": [{
          "name": "v1.0.0",
          "__typename": "Release"
        }],
        "__typename": "ReleaseConnection"
      },
      "name": "carbon-addons-cloud",
      "updatedAt": "2020-03-05T19:46:36Z",
      "createdAt": "2017-11-14T22:38:44Z",
      "description": "[DEPRECATED] Carbon Design System add-on for IBM Cloud",
      "id": "MDEwOlJlcG9zaXRvcnkxMTA3NTMxNDE=",
      "__typename": "Repository"
    }, {
      "url": "https://github.com/carbon-design-system/carbon-upgrade",
      "homepageUrl": "",
      "issues": {
        "totalCount": 0,
        "__typename": "IssueConnection"
      },
      "stargazers": {
        "totalCount": 4,
        "__typename": "StargazerConnection"
      },
      "releases": {
        "totalCount": 0,
        "nodes": [],
        "__typename": "ReleaseConnection"
      },
      "name": "carbon-upgrade",
      "updatedAt": "2020-02-27T03:49:19Z",
      "createdAt": "2019-01-17T18:53:55Z",
      "description": "[Experimental] A tool for upgrading Carbon versions (to v10): `npx carbon-upgrade`",
      "id": "MDEwOlJlcG9zaXRvcnkxNjYyNzg5Mjk=",
      "__typename": "Repository"
    }, {
      "url": "https://github.com/carbon-design-system/carbon-addons-cloud-vanilla",
      "homepageUrl": null,
      "issues": {
        "totalCount": 3,
        "__typename": "IssueConnection"
      },
      "stargazers": {
        "totalCount": 4,
        "__typename": "StargazerConnection"
      },
      "releases": {
        "totalCount": 2,
        "nodes": [{
          "name": "v0.3.0",
          "__typename": "Release"
        }],
        "__typename": "ReleaseConnection"
      },
      "name": "carbon-addons-cloud-vanilla",
      "updatedAt": "2020-02-26T17:35:52Z",
      "createdAt": "2017-08-18T14:53:48Z",
      "description": null,
      "id": "MDEwOlJlcG9zaXRvcnkxMDA3MjI1MDA=",
      "__typename": "Repository"
    }, {
      "url": "https://github.com/carbon-design-system/platform",
      "homepageUrl": null,
      "issues": {
        "totalCount": 0,
        "__typename": "IssueConnection"
      },
      "stargazers": {
        "totalCount": 1,
        "__typename": "StargazerConnection"
      },
      "releases": {
        "totalCount": 0,
        "nodes": [],
        "__typename": "ReleaseConnection"
      },
      "name": "platform",
      "updatedAt": "2019-11-26T02:38:05Z",
      "createdAt": "2019-10-18T17:08:04Z",
      "description": "[Internal] Tools and services for managing a design system",
      "id": "MDEwOlJlcG9zaXRvcnkyMTYwNzE3NjM=",
      "__typename": "Repository"
    }, {
      "url": "https://github.com/carbon-design-system/developer-essentials",
      "homepageUrl": null,
      "issues": {
        "totalCount": 0,
        "__typename": "IssueConnection"
      },
      "stargazers": {
        "totalCount": 8,
        "__typename": "StargazerConnection"
      },
      "releases": {
        "totalCount": 0,
        "nodes": [],
        "__typename": "ReleaseConnection"
      },
      "name": "developer-essentials",
      "updatedAt": "2019-09-17T16:29:31Z",
      "createdAt": "2019-03-07T18:45:22Z",
      "description": "For creation of Developer Essentials course for Carbon / Front-end Skills",
      "id": "MDEwOlJlcG9zaXRvcnkxNzQ0MDEzMDc=",
      "__typename": "Repository"
    }, {
      "url": "https://github.com/carbon-design-system/pattern-contributions",
      "homepageUrl": null,
      "issues": {
        "totalCount": 0,
        "__typename": "IssueConnection"
      },
      "stargazers": {
        "totalCount": 0,
        "__typename": "StargazerConnection"
      },
      "releases": {
        "totalCount": 0,
        "nodes": [],
        "__typename": "ReleaseConnection"
      },
      "name": "pattern-contributions",
      "updatedAt": "2019-09-03T22:37:35Z",
      "createdAt": "2019-09-03T22:37:31Z",
      "description": "This repository is a single place to triage, manage, and maintain pattern contributions to the Carbon Design System.",
      "id": "MDEwOlJlcG9zaXRvcnkyMDYxODM4MzM=",
      "__typename": "Repository"
    }, {
      "url": "https://github.com/carbon-design-system/content-planning",
      "homepageUrl": null,
      "issues": {
        "totalCount": 0,
        "__typename": "IssueConnection"
      },
      "stargazers": {
        "totalCount": 0,
        "__typename": "StargazerConnection"
      },
      "releases": {
        "totalCount": 0,
        "nodes": [],
        "__typename": "ReleaseConnection"
      },
      "name": "content-planning",
      "updatedAt": "2019-08-20T20:34:55Z",
      "createdAt": "2019-08-20T20:34:51Z",
      "description": "This is a place to plan, organize, and communicate about Carbon content",
      "id": "MDEwOlJlcG9zaXRvcnkyMDM0NTAzNTk=",
      "__typename": "Repository"
    }, {
      "url": "https://github.com/carbon-design-system/carbon-sandbox",
      "homepageUrl": "http://themes.carbondesignsystem.com/",
      "issues": {
        "totalCount": 0,
        "__typename": "IssueConnection"
      },
      "stargazers": {
        "totalCount": 12,
        "__typename": "StargazerConnection"
      },
      "releases": {
        "totalCount": 0,
        "nodes": [],
        "__typename": "ReleaseConnection"
      },
      "name": "carbon-sandbox",
      "updatedAt": "2019-07-25T14:41:02Z",
      "createdAt": "2017-05-17T14:38:35Z",
      "description": "A theme playground for Carbon Components",
      "id": "MDEwOlJlcG9zaXRvcnk5MTU4NjYyMw==",
      "__typename": "Repository"
    }, {
      "url": "https://github.com/carbon-design-system/carbon-addons-boilerplate-react",
      "homepageUrl": null,
      "issues": {
        "totalCount": 0,
        "__typename": "IssueConnection"
      },
      "stargazers": {
        "totalCount": 5,
        "__typename": "StargazerConnection"
      },
      "releases": {
        "totalCount": 0,
        "nodes": [],
        "__typename": "ReleaseConnection"
      },
      "name": "carbon-addons-boilerplate-react",
      "updatedAt": "2019-07-12T01:48:51Z",
      "createdAt": "2018-06-13T21:00:48Z",
      "description": null,
      "id": "MDEwOlJlcG9zaXRvcnkxMzcyNzA0MTk=",
      "__typename": "Repository"
    }, {
      "url": "https://github.com/carbon-design-system/carbon-addons-beta-react",
      "homepageUrl": null,
      "issues": {
        "totalCount": 0,
        "__typename": "IssueConnection"
      },
      "stargazers": {
        "totalCount": 6,
        "__typename": "StargazerConnection"
      },
      "releases": {
        "totalCount": 8,
        "nodes": [{
          "name": "v1.0.0",
          "__typename": "Release"
        }],
        "__typename": "ReleaseConnection"
      },
      "name": "carbon-addons-beta-react",
      "updatedAt": "2019-07-12T01:47:08Z",
      "createdAt": "2017-09-26T15:58:22Z",
      "description": "Beta React components. May be elevated into the main library.",
      "id": "MDEwOlJlcG9zaXRvcnkxMDQ5MDY4Nzk=",
      "__typename": "Repository"
    }, {
      "url": "https://github.com/carbon-design-system/carbon-contribution",
      "homepageUrl": "https://www.carbondesignsystem.com/contributing/designers",
      "issues": {
        "totalCount": 16,
        "__typename": "IssueConnection"
      },
      "stargazers": {
        "totalCount": 5,
        "__typename": "StargazerConnection"
      },
      "releases": {
        "totalCount": 0,
        "nodes": [],
        "__typename": "ReleaseConnection"
      },
      "name": "carbon-contribution",
      "updatedAt": "2019-07-06T21:06:36Z",
      "createdAt": "2018-07-05T18:33:27Z",
      "description": "Documentation on how to contribute back to Carbon",
      "id": "MDEwOlJlcG9zaXRvcnkxMzk4ODcxMjA=",
      "__typename": "Repository"
    }, {
      "url": "https://github.com/carbon-design-system/rfcs",
      "homepageUrl": null,
      "issues": {
        "totalCount": 2,
        "__typename": "IssueConnection"
      },
      "stargazers": {
        "totalCount": 1,
        "__typename": "StargazerConnection"
      },
      "releases": {
        "totalCount": 0,
        "nodes": [],
        "__typename": "ReleaseConnection"
      },
      "name": "rfcs",
      "updatedAt": "2019-05-24T15:12:50Z",
      "createdAt": "2018-02-19T21:08:08Z",
      "description": "RFCs for changes to the Carbon Design System",
      "id": "MDEwOlJlcG9zaXRvcnkxMjIxMjA4MzE=",
      "__typename": "Repository"
    }, {
      "url": "https://github.com/carbon-design-system/carbon-triage",
      "homepageUrl": null,
      "issues": {
        "totalCount": 0,
        "__typename": "IssueConnection"
      },
      "stargazers": {
        "totalCount": 0,
        "__typename": "StargazerConnection"
      },
      "releases": {
        "totalCount": 0,
        "nodes": [],
        "__typename": "ReleaseConnection"
      },
      "name": "carbon-triage",
      "updatedAt": "2019-04-27T18:48:57Z",
      "createdAt": "2019-04-27T18:34:31Z",
      "description": "Tools for helping with issue triage",
      "id": "MDEwOlJlcG9zaXRvcnkxODM4MDg4OTA=",
      "__typename": "Repository"
    }, {
      "url": "https://github.com/carbon-design-system/archived-v10-release-issues",
      "homepageUrl": null,
      "issues": {
        "totalCount": 16,
        "__typename": "IssueConnection"
      },
      "stargazers": {
        "totalCount": 0,
        "__typename": "StargazerConnection"
      },
      "releases": {
        "totalCount": 0,
        "nodes": [],
        "__typename": "ReleaseConnection"
      },
      "name": "archived-v10-release-issues",
      "updatedAt": "2019-04-22T20:20:49Z",
      "createdAt": "2018-09-14T14:30:06Z",
      "description": "The default for issues and epics is public. There may be rare occasions when an issue needs to remain confidential. If so, put that issue in this repo.",
      "id": "MDEwOlJlcG9zaXRvcnkxNDg4MDAxMTM=",
      "__typename": "Repository"
    }, {
      "url": "https://github.com/carbon-design-system/carbonated",
      "homepageUrl": "https://tools.carbondesignsystem.com/",
      "issues": {
        "totalCount": 0,
        "__typename": "IssueConnection"
      },
      "stargazers": {
        "totalCount": 6,
        "__typename": "StargazerConnection"
      },
      "releases": {
        "totalCount": 0,
        "nodes": [],
        "__typename": "ReleaseConnection"
      },
      "name": "carbonated",
      "updatedAt": "2019-04-22T17:44:43Z",
      "createdAt": "2019-02-02T18:28:58Z",
      "description": "Internal services for building the Carbon Design System",
      "id": "MDEwOlJlcG9zaXRvcnkxNjg4NjM3MzM=",
      "__typename": "Repository"
    }],
    "__typename": "RepositoryConnection"
  }
};

export default {
  name: 'RepoPage',
  components: { RepoTable },
  data() {
    return {
      organization,
      headers,
      loading:true,
      pageSize: 0,
      pageStart: 0,
      page: 0,
      totalRows:0
    };
  },
  methods: {
    //https://vuex.vuejs.org/guide/actions.html#dispatching-actions
    ...mapActions({
        saveRepo: "saveOrganizationAction",
        removeRepo: "deleteOrganizationAction"
    }),   
    processRepo(action,data){
      if(action==="add"){
        this.saveRepo(data.originalData);
      }else if(action==="remove"){
        this.removeRepo(data.originalData);
      }
    }, 
    onPagination(val) {
      console.log("onPagination",val);
      this.pageSize = val.length;
      this.pageStart = val.start;
      this.page = val.page;
    }
  },  
  computed: {
    rows() {
      if (!this.organization) {
        return [];
      } else {
        console.log("this.organization",this.organization);
        let newRows=this.organization.repositories.nodes.map(row => (          
          {
          ...row,
          key: row.id,
          stars: row.stargazers.totalCount,
          issueCount: row.issues.totalCount,
          createdAt: new Date(row.createdAt).toLocaleDateString(),
          updatedAt: new Date(row.updatedAt).toLocaleDateString(),
          links: { url: row.url, homepageUrl: row.homepageUrl }
        }));
        // console.log("newRows:",newRows);
        return newRows;
      }
    },
    pagedRows() {
      return this.rows.slice(this.pageStart-1, this.pageStart + this.pageSize-1);
    },    
  },
  async mounted(){
    let self=this;
    await commonJS.sleep(function(){
      self.loading=false;
    },1000,null);
  } 
};
</script>

<style lang="scss" scoped>
@import '../../styles/carbon-utils';

/deep/ .repo-page .bx--row {
  padding-top: $spacing-05;
  padding-bottom: $spacing-05;
}

</style>